from django.urls import path
from . import views

# start with blog
urlpatterns = [
    path('', views.blog_list, name="blog_list"),
    # http://localhost:8000/blog/2
    path('<int:blog_pk>', views.blog_detail, name='blog_detail'),
    path('type/<int:blog_with_type_pk>', views.blogs_with_type, name="blogs_with_type"),
    path('date/<int:year>/<int:month>', views.blogs_with_date, name="blogs_with_date"),
]
